Save(Surface, Action<Image<Rgba32>>)

Method

Namespace: Imagini.ImageSharp

Declared in: Imagini.ImageSharp.SurfaceExtensions


Saves the surface using the specified save action.

Syntax

public static void Save(
	Surface surface,
	Action<Image<Rgba32>> onSave
)

Examples

surface.Save(image => image.SaveAsJpeg("file.jpg"))


Back to index